package com.example.check.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 查验历史实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CheckHistory {
    private Integer id;
    private Integer tripId;
    private Integer itemId;
    private Integer userId;
    private String action;
    private String checkMode;
    private String note;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
